package com.zpark.beans;

import java.util.Date;

/**
 * @PackageName: com.zpark.beans
 * @ClassName: User
 * @Description:
 * @author: RZS
 * @date: 2023/3/27  14:53
 */
public class User {
    private String uname;
    private String pwd;

//    // 无参构造器
//    public User() {
//    }


    public User(String uname, String pwd) {
        this.uname = uname;
        this.pwd = pwd;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }


    @Override
    public String toString() {
        return "User{" +
                "uname='" + uname + '\'' +
                ", pwd='" + pwd + '\'' +
                '}';
    }
}
